package kr.co.nowgugudan.tab;

import kr.co.nowgugudan.R;
import android.app.Activity;
import android.os.Bundle;
import android.view.animation.Animation;
import android.view.animation.ScaleAnimation;
import android.widget.ImageView;

public class Tabbase3 extends Activity{
	ImageView mAnimTarget1;
	Animation anim1 = null;
	ImageView mAnimTarget2;
	Animation anim2 = null;
	ImageView mAnimTarget3;
	Animation anim3 = null;
	ImageView mAnimTarget4;
	Animation anim4 = null;
	ImageView mAnimTarget5;
	Animation anim5 = null;
	ImageView mAnimTarget6;
	Animation anim6 = null;
	ImageView mAnimTarget7;
	Animation anim7 = null;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.tab_3);
		
		mAnimTarget1 = (ImageView)findViewById(R.id.ageView1);
		anim1 = new ScaleAnimation(0, 1, 0, 1, Animation.RELATIVE_TO_SELF, 0.5f, 
				   Animation.RELATIVE_TO_SELF, 0.5f);
		anim1.setDuration(1000);
		mAnimTarget1.startAnimation(anim1);
			
		mAnimTarget2 = (ImageView)findViewById(R.id.ageView2);
		anim2 = new ScaleAnimation(0, 1, 0, 1, Animation.RELATIVE_TO_SELF, 0.5f, 
						   Animation.RELATIVE_TO_SELF, 0.5f);
		anim2.setDuration(2000);
		mAnimTarget2.startAnimation(anim2);
				
		mAnimTarget3 = (ImageView)findViewById(R.id.ageView3);
		anim3 = new ScaleAnimation(0, 1, 0, 1, Animation.RELATIVE_TO_SELF, 0.5f, 
						   Animation.RELATIVE_TO_SELF, 0.5f);
		anim3.setDuration(3000);
		mAnimTarget3.startAnimation(anim3);
					
		mAnimTarget4 = (ImageView)findViewById(R.id.ageView4);
		anim4 = new ScaleAnimation(0, 1, 0, 1, Animation.RELATIVE_TO_SELF, 0.5f, 
							   Animation.RELATIVE_TO_SELF, 0.5f);
		anim4.setDuration(4000);
		mAnimTarget4.startAnimation(anim4);
						
		mAnimTarget5 = (ImageView)findViewById(R.id.ageView5);
		anim5 = new ScaleAnimation(0, 1, 0, 1, Animation.RELATIVE_TO_SELF, 0.5f, 
								   Animation.RELATIVE_TO_SELF, 0.5f);
		anim5.setDuration(5000);
		mAnimTarget5.startAnimation(anim5);
							
		mAnimTarget6 = (ImageView)findViewById(R.id.ageView6);
		anim6 = new ScaleAnimation(0, 1, 0, 1, Animation.RELATIVE_TO_SELF, 0.5f, 
									   Animation.RELATIVE_TO_SELF, 0.5f);
		anim6.setDuration(6000);
		mAnimTarget6.startAnimation(anim6);
								
		mAnimTarget7 = (ImageView)findViewById(R.id.ageView7);
		anim7 = new ScaleAnimation(0, 1, 0, 1, Animation.RELATIVE_TO_SELF, 0.5f, 
				   Animation.RELATIVE_TO_SELF, 0.5f);
		anim7.setDuration(7000);
		mAnimTarget7.startAnimation(anim7);
		
		
		
	}
}
